package com.ruoyix.flowable.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyix.common.annotation.ExcelDictFormat;
import com.ruoyix.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;

/**
 * 流程实例视图对象 bpm_process_instance
 *
 * @author ruoyi
 * @date 2023-11-27
 */
@Data
@ExcelIgnoreUnannotated
public class BpmProcessInstanceVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 流程实例id
     */
    @ExcelProperty(value = "流程实例id")
    private String processInstanceId;

    /**
     * 流程定义名称
     */
    @ExcelProperty(value = "流程定义名称")
    private String processInstanceName;

    /**
     * 流程定义key
     */
    @ExcelProperty(value = "流程定义key")
    private String processDefinitionKey;

    /**
     * 流程定义版本
     */
    @ExcelProperty(value = "流程定义版本")
    private Long processDefinitionVersion;

    /**
     * 流程发起人ID
     */
    @ExcelProperty(value = "流程发起人ID")
    private String startUserId;

    /**
     * 流程发起人
     */
    @ExcelProperty(value = "流程发起人")
    private String startUserNickName;

    /**
     * 流程状态 挂起或激活
     */
    @ExcelProperty(value = "流程状态 挂起或激活")
    private String processInstanceState;

    /**
     * 流程关联的业务id
     */
    @ExcelProperty(value = "流程关联的业务id")
    private String businessKey;

    /**
     * 流程启动时间
     */
    @ExcelProperty(value = "流程启动时间")
    private Date startTime;


    /**
     * 流程启动时间
     */
    @ExcelProperty(value = "流程结束时间")
    private Date endTime;

    /**
     * 当前办理人
     */
    @ExcelProperty(value = "当前办理人")
    private String currAssignee;

    /**
     * 当前办理人ID
     */
    @ExcelProperty(value = "当前办理人ID")
    private String currAssigneeId;

    /**
     * 流程状态
     */
    @ExcelProperty(value = "流程状态")
    private String processInstanceStatus;


}
